<ion-header>

  <ion-navbar>
    <ion-title>投票详细</ion-title>
  </ion-navbar>

</ion-header>


<ion-content>
  <div class="title">
    <h3>{{title}}
      <span float-right >{{status}}</span>
    </h3>

    <p>匿名投票&nbsp; 结束时间&nbsp;{{time}}</p>


  </div>

  <ion-grid>
    <ion-row>
      <ion-col col-6 *ngFor="let item of toupiaoList" (click)="gototoupiaojieguo()">
        <ion-card>
          <img src="https://ss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=3342737063,3964532796&fm=27&gp=0.jpg" />
          <ion-card-content>
            <ion-card-title text-center>
              {{item.name}}
            </ion-card-title>
            <span float-left>{{item.number}}票</span>
            <span class="btn1" float-right *ngIf="item.isvoted==1">投票</span>
            <span class="btn2" float-right *ngIf="item.isvoted==0">已投</span>

          </ion-card-content>
        </ion-card>
      </ion-col>


    </ion-row>

  </ion-grid>

</ion-content>